home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / SmallEiffel 0.3.3 / SmallEiffel PPC / lib_show / bench2 / bench2.csh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1996-06-13  |  299 b   |  16 lines  |  [TEXT/EDIT]

  1. #!/bin/csh
  2. #
  3. # Run this file to have a comparison 
  4. #
  5. foreach b (*_bench2.e)
  6.     set cmd = "compile $b make -boost -O3"
  7.     echo $cmd
  8.     set cmd = "/bin/time ${SmallEiffel}/bin/$cmd"
  9.     echo "   Compiling/Running :"
  10.     $cmd >! tmp
  11.     grep " real    " tmp
  12.     /bin/time a.out >! tmp
  13.     grep " real    " tmp
  14. end
  15. /bin/rm -f tmp
  16.